home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Fastgraph Cursor Editor.
-
- Version 1.00.
-
- Copyright (c) 1994 by Thomas Bargholz.
-
- All rights reserved.
-
-
-
-
- ------------
- INTRODUCTION
- ------------
- Fastgraph is a registered trademark of Ted Gruber Software, Inc. Used by kind
- permission.
-
- Fastgraph Cursor Editor (FGCE) is a graphic mouse cursor drawing program.
- With your mouse, you simply draw the appearance of the cursor, and the
- program then outputs the cursor in the source code of your choise: Pascal,
- c, Fortran or Basic.
- The actual output is an array of 32 word sized values, that can be used with
- any graphic mouse library, to implement your own cursor in a graphic mode.
-
- If you have any comments, suggestions or bug-reports, please contact:
-
- e-mail : tba@m.dia.dk
- snail mail: Thomas Bargholz
- Smallegade 20A, 3 tv.
- DK-2000 Frederiksberg
- Denmark
-
- ------------
- REQUIREMENTS
- ------------
- FGCE requires EGA and a mouse.
- To recompile FGCE, Turbo/Borland Pascal 7.0 + Ted Gruber Softwares FastGraph
- (tm) graphics library is required.
-
- ---------
- FASTGRAPH
- ---------
- Fastgraph (tm) is a graphic library that supports graphic modes from 320x200x2
- to 1024x768x256 + text modes, bitmaps as PCX, GIF and RLE, Autodesk FLI animator
- files, page-flipping for animation, joy-stick, mouse and low-level keyboard
- support, sound support, special effects (fades), palette handling and much,
- much, much more. And it does all that in both real and protected mode for
- the four languages also supported by FGCE : Pascal, c, Fortran and Basic on
- virtually any compiler.
-
- Ted Gruber Software
- P.O.Box 13408
- Las Vegas, NV 89112
- USA.
- Phone: +1 702-735-1980
- Fax: +1 602-483-0193
- CIS: 72000,1642
-
- ----------------
- DRAWING A CURSOR
- ----------------
- There are six main areas on the screen:
-
- 1) The buttons : Top left corner :
- Save : Saves the cursor.
- Clear : Clears the cursor work area.
- Test : Allows you to test the drawn cursor inside FGCE.
- Exit : Exit FGCE.
-
- 2) Source code radio buttons : Lower left corner :
- The four radio buttons, allows you to select the source code for the output :
- Pascal, c, Fortran, Basic.
-
- 3) Fat-bit editor : Center :
- This is an enlarged version of the cursor you are drawing. You draw by
- clicking on a bit in the editor. To draw multible bits, press the left mouse
- button and drag over the editor.
-
- 4) Real life cursor : Top right :
- This is an image on how the cursor will look in it's real life size.
-
- 5) Color radio buttons : Lower right :
- Here you select the color to draw with in the fat-bit editor.
-
- 6) Output name : Bottom line.
- This is the default output name. When you select source code, the extension on
- the output name changes : PAS for Pascal; C for c; FOR for Fortran; BAS for
- Basic.
- To change the default name, click on it. You can then type in a new name. Only
- the eight first characters of a filename is allowed, as FGCE gives the satndard
- extensions as decribed above.
- Valid characters are: 0-9,A-Z,{,},_,[,],(,) and -. To cancel giving a new
- output name, press escape.
-
-
- ----------------
- USING THE OUTPUT
- ----------------
- The saved cursor is in the form of an array of 32 word sized values.
- In Fastgraph (tm), you set the new cursor with the command :
- (as Pascal source)
-
- const
- MyCursor : array[0..31] of Word = (
- $001F,$803F,$803F,$803F,$803F,$C07F,$E0FF,$F1FF,
- $F1FF,$E0FF,$C07F,$803F,$803F,$803F,$803F,$001F,
- $0000,$3F80,$3F80,$3F80,$3B80,$1500,$0A00,$0400,
- $0400,$0E00,$1B00,$3F80,$3B80,$3580,$2A80,$0000);
-
- begin
- :
- fg_mouseptr(MyCursor,8,8);
- :
- end.
-
- Fastgraph users can see chapter 14 in the Fastgraph manual and example 14-10
- for more information.
-
- Users of other mouse libraries, see you documentation.
-
- If you are writing you own mouse library, you use interrupt 33h, with
- AX = 09h, BX = horizontal hotspot, CX = vertical hotspot, DX = offset of
- pointer to the mouse cursor array, ES = segment of pointer to the mouse
- cursor array.
-
-